package com.example.server.service;

import com.example.server.entity.Book;

import java.util.List;

public interface BookService {
    Book getBookById(int idbook);
    List<Book> getAllBooks();
    void insertBook(Book book);
    void updateBook(Book book);
    void deleteBook(int idbook);
}
